﻿<Window
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	mc:Ignorable="d" xmlns:Microsoft_Windows_Themes="clr-namespace:Microsoft.Windows.Themes;assembly=PresentationFramework.Aero" 
	xmlns:ic="clr-namespace:Microsoft.Expression.Interactivity.Core;assembly=Microsoft.Expression.Interactions" 
	x:Class="RemoteTestRunner.FormsUI.Wpf.Options"
    Title="Options">
	<Grid Margin="10">
		<Grid.Resources>
			<Style TargetType="{x:Type Button}">
				<Setter Property="MinWidth" Value="27"/>
				<Setter Property="Margin" Value="1" />
			</Style>
			<Style TargetType="{x:Type RadioButton}">
				<Setter Property="Margin" Value="5" />
			</Style>
		</Grid.Resources>
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="Auto"/>
		</Grid.RowDefinitions>
		<Grid.ColumnDefinitions>
			<ColumnDefinition Width="Auto" />
			<ColumnDefinition Width="Auto" />
			<ColumnDefinition Width="Auto" MinWidth="300" />
			<ColumnDefinition Width="Auto" />
		</Grid.ColumnDefinitions>
		<Label Content="_Data File:"/>
		<TextBox Grid.Column="1" Grid.ColumnSpan="2" />
		<Button Content="..." Grid.Column="3" d:LayoutOverrides="Height"/>
		<Label Content="_Test Timeout:" Grid.Row="1"/>
		<StackPanel Grid.Column="1" Grid.Row="1" Orientation="Horizontal" d:LayoutOverrides="Height">
			<TextBox Text="TextBox" />
			<Label Content="(seconds)"/>
		</StackPanel>
		<Label Content="Run Tests:" Grid.Row="3"/>
		<RadioButton x:Name="radioButton" Content="_Locally" Grid.Column="1" Grid.Row="3"/>
		<Label HorizontalAlignment="Right" Content="_MSTest Path:" Grid.Column="1" Grid.Row="4"/>
		<TextBox Grid.Column="2" Grid.Row="4" IsEnabled="{Binding IsChecked, ElementName=radioButton, Mode=Default}" />
		<Button Content="..." Grid.Column="3" Grid.Row="4" d:LayoutOverrides="Height" IsEnabled="{Binding IsChecked, ElementName=radioButton, Mode=Default}" />
		<Label HorizontalAlignment="Right" Content="_Working Folder:" Grid.Column="1" Grid.Row="5" />
		<TextBox Grid.Column="2" Grid.Row="5" IsEnabled="{Binding IsChecked, ElementName=radioButton, Mode=Default}" />
		<Button Content="..." Grid.Column="3" Grid.Row="5" d:LayoutOverrides="Height" IsEnabled="{Binding IsChecked, ElementName=radioButton, Mode=Default}" />
		<RadioButton x:Name="radioButton1" Content="On _Server" Grid.Column="1" Grid.Row="6"/>
		<Label HorizontalAlignment="Right" Content="_URL:" Grid.Column="1" Grid.Row="7"/>
		<TextBox Grid.Column="2" Grid.Row="7" IsEnabled="{Binding IsChecked, ElementName=radioButton1, Mode=Default}" />
		<StackPanel HorizontalAlignment="Right" Grid.Column="2" Grid.Row="8" Orientation="Horizontal" Grid.ColumnSpan="2">
			<StackPanel.Resources>
				<Style TargetType="{x:Type Button}">
					<Setter Property="MinWidth" Value="70"/>
					<Setter Property="Margin" Value="6,15,0,3" />
				</Style>
			</StackPanel.Resources>		
			<Button Content="OK" IsDefault="True" />
			<Button Content="Cancel" IsCancel="True"/>
		</StackPanel>
	</Grid>
</Window>
